package com.qf.business.classes.listener;

import com.qf.commons.event.apply.consumer.EventHandler;
import com.qf.commons.event.apply.consumer.IEventHandler;
import com.qf.commons.event.entity.QphoneMessage;
import org.springframework.stereotype.Component;

/**
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
@EventHandler("save-stu")
@Component
public class MsgListener2 implements IEventHandler<String> {

    @Override
    public void handler(String eventContent, QphoneMessage qphoneMessage) {
        System.out.println("save-stu - 接收到消息：" + eventContent);
    }
}
